package com.hllxd.hism.star.constant;


public enum PermissionErrorCode {

    NO_PERMISSION("-100", "无请求权限", false);

    private final String code;
    private final String message;
    private final boolean success;

    PermissionErrorCode(String code, String message, boolean success) {
        this.code = code;
        this.message = message;
        this.success = success;
    }

    public String getCode() {
        return code;
    }


    public String getMessage() {
        return message;
    }


    public boolean isRetriable() {
        return false;
    }

    public boolean isSuccess() {
        return success;
    }
}
